package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 燃烧炉技术要求业务对象 zj_furnace_requires
 *
 * @author zyb
 * @date 2023-10-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjFurnaceRequiresBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 新增人
     */
    @NotBlank(message = "新增人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String insertBy;

    /**
     * 新增时间
     */
    @NotNull(message = "新增时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date insertTime;

    /**
     * 是否删除(0  未删除， 1  已删除)
     */
    @NotBlank(message = "是否删除(0  未删除， 1  已删除)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deleted;

    /**
     * 试样重量
     */
    @NotNull(message = "试样重量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal originalWeight;

    /**
     * 损失重量
     */
    @NotNull(message = "损失重量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal lostWeight;

    /**
     * 校正系数
     */
    @NotBlank(message = "校正系数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String correctionCoefficient;

    /**
     * 沥青含量
     */
    @NotNull(message = "沥青含量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltContent;

    /**
     * 油石比
     */
    @NotNull(message = "油石比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltAggregateRatio;

    /**
     * 温度
     */
    @NotNull(message = "温度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal mainTemperature;

    /**
     * 修改人
     */
    @NotBlank(message = "修改人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String updateBy;
    /**
     * 修改时间
     */
    @NotBlank(message = "修改时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date updateTime;
}
